import UIKit

class ViewController: UIViewController {
    @IBOutlet weak var label: UILabel!
    
    override func viewDidLoad() {
        super.viewDidLoad()
        label.text = "Hello, world!"
    }
}

@_silgen_name("sum")
func swift_sum(_ v1: Int32, _ v2: Int32) -> Int32 {
    return v1 + v2
}

func oc1() {
    print(swift_sum(10, 20)) // 打印：30
    print(sum(10, 20))      // 打印：30
}

import UIKit

class HYApplication : UIApplication {}

UIApplicationMain(CommandLine.argc,
                  CommandLine.unsafeArgv,
                  NSStringFromClass(HYApplication.self),
                  NSStringFromClass(AppDelegate.self))

static let age2: Int = {
    print (888)
    return 20
}()
